fix: display swap quote missing error#5647
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: eb750ab The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Greptile SummaryThis PR fixes a silent error-display regression in the "Repay with collateral" form where
Confidence Score: 5/5Safe to merge — the change is a two-check reorder within a pure useMemo with no side effects. The reordering correctly fixes the scenario where both NO_SWAP_QUOTE_FOUND and EMPTY_TOKEN_AMOUNT are simultaneously true (derived repaidAmountTokens is empty when a swap route is unavailable). Moving NO_SWAP_QUOTE_FOUND first ensures the actionable error message surfaces. The fix is consistent with how formErrors[0] is consumed in the parent component and does not affect any other form validation paths. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "fix: display swap quote missing error" | Re-trigger Greptile |
Coverage Report for ./apps/evm
File Coverage
|
||||||||||||||||||||||||||||||||||||||
Changes